/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c) 2002, GeoVISTA Center
 * Licensed under Simplified BSD License
 * This library is developed and distributed for free usage,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * You can redistribute and/or modify it under the terms of the
 * Simplified BSD License
 *
 *
 *
 *
 *
 *
 *
 * @original author: jin Chen 
 * @author: jin Chen 
 * @date: Dec 23, 2006$
 * @version: 1.0
 */
package edu.psu.geovista.app.dataloader.v1.config.model;

import java.util.ArrayList;
import java.util.Iterator;

public class PathList extends ArrayList {
    public Path get(String name){
        Iterator iterator = this.iterator();
        for (Iterator iterator1 = this.iterator(); iterator1.hasNext();) {
            Path path = (Path) iterator1.next();
            if(path.getName().equals(name) ){
                return path;
            }
        }
        return null;
    }
}

